package com.lg.head_first.chap01.duck;

/**
 * 整个方法 运用了策略模式
 *
 *
 *
 * @author by Mr. Li 2020/7/22 21:53
 */
public class MiniDuckSimulator {
    public static void main(String[] args) {
        Duck mallard = new MallardDuck();
        mallard.performFly();
        mallard.performQuack();
    }
}
